﻿<UserControl x:Class="VAdvantage.Apps.AForms.VAttributeGrid"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:my="clr-namespace:SLControls.Controls;assembly=SLControls" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" Loaded="UserControl_Loaded">
    <Grid>
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="256*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <my:VTabControl HorizontalAlignment="Stretch" Margin="5" Name="vtabAttrib" VerticalAlignment="Stretch">
            <sdk:TabItem Header="sel" Name="vtabsel">
                <Grid Name="vdgvselect" ShowGridLines="False">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="97*" />
                        <ColumnDefinition Width="267*" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="25" />
                        <RowDefinition Height="25" />
                        <RowDefinition Height="25" />
                        <RowDefinition Height="25" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <my:VLabel Height="Auto" Name="lblA1" VerticalAlignment="Center" Margin="5,5,5,0" Content="A1" HorizontalContentAlignment="Right" HorizontalAlignment="Right" />
                    <my:VLabel Height="Auto" Margin="5,5,5,0" Name="lblA2" VerticalAlignment="Center" Grid.Row="1" Content="A2" HorizontalContentAlignment="Right" HorizontalAlignment="Right" />
                    <my:VLabel Height="Auto" Margin="5,5,5,0" Name="vlblPriceList" VerticalAlignment="Center" Grid.Row="2" Content="Price" HorizontalContentAlignment="Right" HorizontalAlignment="Right" />
                    <my:VLabel Height="Auto" Margin="5,5,5,0" Name="vlblWareHouse" VerticalAlignment="Center" Grid.Row="3" Content="WH" HorizontalContentAlignment="Right" HorizontalAlignment="Right" UseLayoutRounding="True" FontSize="11" />
                </Grid>
            </sdk:TabItem>
            <sdk:TabItem Header="Gen" Name="vtabGen">
                <Grid Name="vdgvGenerate" ShowGridLines="False">
                    <Grid.ColumnDefinitions>
                       
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                       
                    </Grid.RowDefinitions>
                   
                </Grid>
            </sdk:TabItem>
        </my:VTabControl>
        <StackPanel Height="45" HorizontalAlignment="Right" Margin="0,0,5,0" Name="stackPanel1" VerticalAlignment="Top" Grid.Row="1" Width="74">
            <Grid Height="45" Name="grid1" Width="72">
                <my:VImage Icon="/VAdvantage;component/Images/cancel_up.png" Height="35" Name="vbtnCancel" Width="35" Margin="0,0,0,5" HorizontalAlignment="Left" Padding="3,3,3,3" />
                <my:VImage Icon="/VAdvantage;component/Images/right_up.png" Height="35" Name="vbtnOk" Width="35" Margin="37,0,0,5" HorizontalAlignment="Left" />
            </Grid>
        </StackPanel>
    </Grid>
        <Grid x:Name="busyWindow" Opacity=".4" Background="LightGray" Visibility="Collapsed" MouseLeftButtonDown="busyWindow_MouseLeftButtonDown" >
            <TextBlock x:Name="txtBusy" FontSize="20" FontStyle="Italic" Visibility="Collapsed" HorizontalAlignment="Center" Text="Loading...." VerticalAlignment="Center"></TextBlock>
        </Grid>
    </Grid>
</UserControl>
